<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link type="text/css" rel="stylesheet" href="{$this->base_url}ui.datepicker.css" />
		<link type="text/css" rel="stylesheet" href="{$this->base_url}ui.datepicker.granularity.css" />
		<link type="text/css" rel="stylesheet" href="{$this->base_url}resources/css/ext-all.css" />
		<link type="text/css" rel="stylesheet" href="{$this->base_url}css/admin.css" />
		<title>Vietsam&trade; - Administration panel</title>

		<script type="text/javascript">
			var search_texts = Array('product, category...', 'customer id, name, e-mail...', 'order id');
			var helpboxes = 1;
		</script>
		<script type="text/javascript" src="/prestashop/js/jquery/jquery-1.2.6.pack.js"></script>
		<script type="text/javascript" src="{$this->base_url}js/admin.js"></script>
		<script type="text/javascript" src="{$this->base_url}js/toggle.js"></script>
		<script type="text/javascript" src="{$this->base_url}js/tools.js"></script>
		
		<link rel="shortcut icon" href="{$this->base_url}images/cart.gif" />
		{$this->xajax_js}
	</head>
	<body>
		<div id="container">
			<div style="float: left; margin-top: 11px;">
				<form action="index.php?tab=AdminSearch&token=f5b039721313ec67bcb8cb073b342a51" method="post">
					<input type="text" name="bo_query" id="bo_query" style="width: 120px;" onfocus="this.value = '';"  onclick="this.value = '';"
					value="" /> 					
					<select name="bo_search_type" id="bo_search_type" onchange="#" style="font-size: 1em;">
						<option value="1">catalog</option>
					</select>&nbsp;
					<input type="submit" name="bo_search" value="Search" class="button" />
					<script type="text/javascript">queryType();</script>
				</form>
			</div>

			<div style="float: left;margin: 11px 0px 0px 50px;" id="flagsLanguage">
				<div>
				<a href="#">
				<img src="/prestashop/img/l/1.jpg" alt="EN" title="English" class="selected_language" />
				</a> 
				<a href="#"><img src="/prestashop/img/l/2.jpg" alt="FR" title="Français (French)"  /></a> 				
				</div>
			</div>
			<script type="text/javascript">$('#flagsLanguage img[class!=selected_language]').css('opacity', '0.3')</script>
			<div style="float: right; margin: 11px 0px 0px 20px; text-align:right;">
				<img src="../img/admin/quick.gif" style="margin-top:5px;" />&nbsp;

				<select onchange="if (this.value == '0') return ; else if (this.value.substr(-1) == 0) document.location = this.value.substr(0, this.value.length - 1); else window.open(this.value.substr(0, this.value.length - 1), 'PrestaShop', '');" style="font-size: 1em; margin:5px 20px 0px 0px;">
					<option value="0">Quick access</option>
					<option value="0">---</option>
					<option value="index.php0">Home</option>
					<option value="../1">My Shop</option>
					<option value="index.php?tab=AdminCatalog&addcategory&token=ed2c776e5ddb1b5f07f27e69e36637650">New category</option>
					<option value="index.php?tab=AdminCatalog&addproduct&token=ed2c776e5ddb1b5f07f27e69e36637650">New product</option>
					<option value="index.php?tab=AdminDiscounts&adddiscount&token=c9a4bb1a75c1f931daebdbaf21770af20">New voucher</option>				
				</select>
				<img src="{$this->base_url}/images/admin/nav-user.gif" alt="user" />&nbsp;
				<a href="{$this->base_url}admin/login/signout" title="logout">
					<b>{$this->fullname}</b>
					<img src="{$this->base_url}/images/admin/nav-logout.gif" alt="logout" />
				</a>
			</div>
			<br style="clear:both;" />
			<ul id="menu" style="margin-top:20px">
				{$this->menu}			
			</ul>

			<div id="main">
				<ul id="submenu">
				{$this->sub_menu}
				</ul>
				<div id="content">
					<!--div id="path_bar" class="path_bar">
						<img src="{$this->base_url}/images/admin/prefs.gif" style="margin-right:10px" />
						<a href="?token=0711d5e7c36dbd5a31de67abd0af378f">Back Office</a> >>
 						<img src="{$this->base_url}/images/tab/9.gif" style="margin-right:5px" />Tools
 					</div-->
 
					<div id="vietsam">
					 {$this->main}
					</div>
				</div>
			</div>
			
			
			<p id="footer">
			{$this->lang->line('copyright')}<br />
			<a href="http://www.vinatechs.com/" target="_blank">{$this->lang->line('powered_by')}</a>&nbsp;
			</p>
			
		</div>
	</body>
</html>
